using Microsoft.AspNetCore.Mvc;
using QMERP.Application.Services;
using QMERP.Domain.Dtos;

namespace QMERP.WebApi.Controllers
{
    public class SystemController : ApiControllerBase
    {
        private readonly ISystemService _systemSvc;
        public SystemController(ISystemService systemSvc)
        {
            _systemSvc = systemSvc;
        }
        [HttpGet]
        public async Task<SystemResponse> Init()
        {
            return await _systemSvc.Init();
        }
    }
}